package com.eightbears.beboy.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Bao on 2017/7/6.
 */

    public class OrderDetailEntity implements Serializable {
    private String message;
    private String status_code;
    private Order data;


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public Order getData() {
        return data;
    }

    public void setData(Order data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "OrderDetailEntity{" +
                "message='" + message + '\'' +
                ", status_code='" + status_code + '\'' +
                ", data=" + data +
                '}';
    }

    public static class Order implements Serializable{

        private String id;
        private String shop_id;
        private String shopTitle;
        private String title;
        private String content;
        private String cover;
        private String price;
        private String discount_price;
        private String status;
        private String rec_num;
        private String start_at;
        private String end_at;
        private String payment_info;
        private String payType;
        private List<Managers> managers;
        private CouponsEntity.Shop shop;
        private String finalPrice;

        public CouponsEntity.Shop getShop() {
            return shop;
        }

        public void setShop(CouponsEntity.Shop shop) {
            this.shop = shop;
        }

        public String getFinalPrice() {
            return finalPrice;
        }

        public void setFinalPrice(String finalPrice) {
            this.finalPrice = finalPrice;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public List<Managers> getManagers() {
            return managers;
        }

        public String getPayment_info() {
            return payment_info;
        }

        public void setPayment_info(String payment_info) {
            this.payment_info = payment_info;
        }

        public String getShopTitle() {
            return shopTitle;
        }

        public void setShopTitle(String shopTitle) {
            this.shopTitle = shopTitle;
        }

        public void setManagers(List<Managers> managers) {
            this.managers = managers;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDiscount_price() {
            return discount_price;
        }

        public void setDiscount_price(String discount_price) {
            this.discount_price = discount_price;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getRec_num() {
            return rec_num;
        }

        public void setRec_num(String rec_num) {
            this.rec_num = rec_num;
        }

        public String getStart_at() {
            return start_at;
        }

        public void setStart_at(String start_at) {
            this.start_at = start_at;
        }

        public String getEnd_at() {
            return end_at;
        }

        public void setEnd_at(String end_at) {
            this.end_at = end_at;
        }

        @Override
        public String toString() {
            return "Order{" +
                    "id='" + id + '\'' +
                    ", shop_id='" + shop_id + '\'' +
                    ", shopTitle='" + shopTitle + '\'' +
                    ", title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", cover='" + cover + '\'' +
                    ", price='" + price + '\'' +
                    ", discount_price='" + discount_price + '\'' +
                    ", status='" + status + '\'' +
                    ", rec_num='" + rec_num + '\'' +
                    ", start_at='" + start_at + '\'' +
                    ", end_at='" + end_at + '\'' +
                    ", payment_info='" + payment_info + '\'' +
                    ", payType='" + payType + '\'' +
                    ", managers=" + managers +
                    ", shop=" + shop +
                    ", finalPrice='" + finalPrice + '\'' +
                    '}';
        }
    }


    public static class Managers implements Serializable{
        private String id;
        private String user_id;
        private String shop_id;
        private String name;
        private String status;
        private String company;
        private String company_phone;
        private String nickname;
        private String cover;
        private String mobile;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getCompany_phone() {
            return company_phone;
        }

        public void setCompany_phone(String company_phone) {
            this.company_phone = company_phone;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        @Override
        public String toString() {
            return "Managers{" +
                    "id='" + id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", shop_id='" + shop_id + '\'' +
                    ", name='" + name + '\'' +
                    ", status='" + status + '\'' +
                    ", company='" + company + '\'' +
                    ", company_phone='" + company_phone + '\'' +
                    ", nickname='" + nickname + '\'' +
                    ", cover='" + cover + '\'' +
                    ", mobile='" + mobile + '\'' +
                    '}';
        }
    }
}
